============================================================================
|| Tutorial on how to create plugin projects for ReplaySeeker || by Danat ||
============================================================================

1. Launch Microsoft Visual Studio 2005 (if you don't have this studio then just try to find the similar looking options in your studio).
2. Go to File->New->Project... 
3. In "Project types" tree view collapse the "Other Languages" node and select "Visual C#".
4. In the "Templates" listview select "Class Library".
5. Specify the name of your project and the path to it and click "OK". A new project will be created.
6. In "Solution Explorer" tab right-click "References" node of your project and from the dropdown menu select "Add Reference...". In the "Add Reference" dialog box switch to "Browse" tab and browse to "PluginManager.dll" file provided in the ReplaySeeker Plugin API package, then click "OK".
7. In "Solution Explorer" tab right-click "Class1.cs" (default class name) and from the dropdown menu select "View Code" (in case you dont see it already).
8. Add the following lines at the top of the "Class1.cs" file:

using ReplaySeeker;
using ReplaySeeker.Plugins;

9. Now modify the class so that it will implement the IReplaySeekerPlugin interface.
//// Before: ////////////////

using System;
using System.Collections.Generic;
using System.Text;
using ReplaySeeker;
using ReplaySeeker.Plugins;

namespace SomeLib
{
    public class Class1
    {
    }
}

//// After: ////////////////

using System;
using System.Collections.Generic;
using System.Text;
using ReplaySeeker;
using ReplaySeeker.Plugins;

namespace SomeLib
{
    public class Class1 : IReplaySeekerPlugin
    {
        public string Name
        {
            get { return "MyName"; }
        }

        public string Description
        {
            get { return "MyDescription"; }
        }

        public bool Initialize(IReplaySeekerCore core)
        {
            return true; // initialization is successful
        }

        public void OnClick()
        {
            Console.Beep(400, 100); // beep when clicked
        }
    }
}

10. Now Build your project and your plugin is ready!
11. Copy generated plugin dll from the "bin\Debug\" folder to the "Plugins" folder of the ReplaySeeker application.
12. Run ReplaySeeker and click the plugin in the pluginlist with "MyName" name. You should hear a beep sound.